package net.zjitc.controller;

import net.zjitc.User;
import net.zjitc.service.UserService;
import org.springframework.stereotype.Controller;

import javax.annotation.Resource;
@Controller("UserController")
public class UserController {
    @Resource(name = "UserService")
    private UserService userService;
    public void show(){
        User user = userService.findUser();
        System.out.println(user);
    }
}
